In order to get access to the real-time data API for Yílíng district, Yichang (ID: H6952) air quality monitoring station, you need to first get your own token from the data-platform token registration page.
Then enter your token here:
You can then use the following URL to access the real-time data:
https://api.waqi.info/feed/@6952/?token=__YOUR_TOKEN__
. If everything works fine, you will then be able to get the data similar to the result below:
(For more information about the API, check aqicn.org/api/ and aqicn.org/json-api/doc/)
JSON result:
Support the WAQI data platform by getting your air quality monitor.
Our GAIA air quality monitors are very easy to set up: You only need a WIFI access point and a USB compatible power supply.
Once connected, your real time air pollution levels are instantaneously available on the maps and through the API.
The station comes with a 10-meter water-proof power cable, a USB power supply, mounting equipment and an optional solar panel.